
<#include "header.ftl">
  <!-- 内容区域 -->
<div class="tpl-content-wrapper">
 <div class="container-fluid am-cf">
                <div class="row">
                    <div class="am-u-sm-12 am-u-md-12 am-u-lg-9">
                        <ol class="am-breadcrumb">
						  <li><a href="${Domain}my" class="am-icon-home">首页</a></li>
						  <li class="am-active">访问</li>
						  <li class="am-active"><#if type=1>健康访问</#if><#if type=2>随访访问</#if></li>
						  
						</ol>
                    </div>
                  	<#include "../common/return.ftl">
                </div>
  </div>
       <div class="row-content am-cf">
                <div class="row">
                <div class="am-u-sm-12 am-u-md-12 am-u-lg-12">
                        <div class="widget am-cf">
                            <div class="widget-head am-cf">
                                <div class="widget-title  am-cf"><i class="iask-icon-wenjuan iconfont sidebar-nav-link-logo"></i><#if type=1>健康访问</#if><#if type=2>随访访问</#if></div>

                            </div>
                            <div class="widget-body  am-fr">

                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-6">
                                    
                                </div>
                                <div class="am-u-sm-12 am-u-md-6 am-u-lg-3">
                                   
                                </div>
                                <div class="am-u-sm-12 am-u-md-12 am-u-lg-3">
                                	
                                	
                                </div>

                                <div class="am-u-sm-12">
                                
                                
                                
                                <div class="am-scrollable-horizontal">
                                
                                    <table width="100%" class="<#include "../common/table-class.ftl">"  >
                                        <thead>
                                            <tr>
                                                <th width="80px">编号</th>
                                                <th>身份证</th>
                                                <th>名称</th> 
                                                 <th>性别</th>
                                                <th>年龄</th> 
                                                <th>状态</th> 
                                                <th>进度</th>  
                                                <th>打开次数</th>  
                                                <th>用时</th>                                        
                                              <th>问卷</th>
                                              <th>创建时间</th>
                                              <th width="120px">操作</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        <#list page.list as item>
                                            <tr >
                                                 <td>${item.id}</td>
                                                  <td>${IDUtil.Simple(item.no)}</td> 
                                                <td>${item.name}</td> 
                                                
                                                <td><#switch item.gender>
										           <#case 0> 未知 <#break>
										           <#case 1>男<#break>
										           <#case 2>女<#break>
										           <#default>未知
										        	</#switch> </td>  
                                                <td>${IDUtil.Age(item.birthday)}</td>
                                                <td><#switch item.state>
										           <#case 0>创建 <#break>
										           <#case 1>进行<#break>
										           <#case 2>完成<#break>
										           <#case -1>失效<#break>
										           <#default>未知
										        	</#switch> </td>
										        	 
                                                  <td>
                                                  <#if item.total!=0>
                                                  ${item.speed*100/item.total}%(${item.speed}/${item.total})
                                                  <#else>
													-
												</#if>
												</td>                                        
                                                <td>${item.opencount}</td>
                                                <td>${item.usetime/1000}秒</td>
                                                <td>${item.pname}</td>
                                                <td>${item.time}</td>
                                                <td>
                                            
                                                    <div class="tpl-table-black-operation">
                                                       
                                                       <a href="${Domain}my/access/ask/${item.id}" target="_blank">
                                                            <i class="am-icon-pencil"></i> 访问
                                                        </a>
                                                  	<a href="${Domain}my/access/show/${item.id}" target="_blank"  class="tpl-table-black-operation-del">
                                                            <i class="am-icon-file-o"></i> 详情
                                                        </a>
                                                 <a href="${Domain}my/access/update/${item.id}" target="_blank">
                                                            <i class="am-icon-pencil"></i> 更新
                                                        </a>
                                               
  													</div>
                                                </td>
                                            </tr>
                                            </#list>
                                        </tbody>
                                    </table>
                                    </div>
                                </div>
                              
                               <#include "../common/page.ftl">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        
 </div>     
 
    
<#include "footer.ftl">